{template "content","header"}
<link href="{CSS_PATH}download.css" rel="stylesheet" type="text/css" />
<!--网站容器-->
<div class="container"> 
		 <div class="content-box main-left download-list">
		 		<div class="title">
		 			<h2>{$CATEGORYS[$catid]['catname']}</h2>
		 		</div>
		 	    <ul>
				{pc:content action="lists" catid="$catid" num="15" order="id DESC" page="$page"}
				{loop $data $r}
			   		<div class="down-list">
					<a href="{$r['url']}" target="_blank" class="down-list-left">
						<img src="{thumb($r['thumb'],230,150)}" alt="{$r['title']}" title="{$r['title']}">
					</a>
					<div class="down-list-right">
						<div class="down-title">
							<span class="down-date">日期:{date('Y-m-d H:i:s',$r['inputtime'])}</span>
							<a href="{$r['url']}" target="_blank"><span class="title_color">{$r['title']}</span></a>
						</div>
						<p class="down-info"><em>{$CATEGORYS[$r['catid']]['catname']}</em>| {$r[copytype]} | 大小：{$r['filesize']} | 平台：{$r[systems]} | 星级：{$r['stars']}</p>
						<p class="down-desc">{$r['description']}...</p>
					</div>
				 </div>
				 {/loop}
		 		</ul>
				<div class="search-pagination">{$pages}</div>
				{/pc}
		  </div>
		  
		 <div class="main-right">	
		 	<div class="content-box">
				<div class="title">
		 			<h2>频道总排行</h2>
		 		</div>
		 	    <ul class="ranking">
				{pc:content action="hits" catid="$catid" num="10" order="views DESC"}
				{loop $data $r}
		 			<li><em>{$n}</em><span class="date">{date('m-d',$r['inputtime'])}</span><a href="{$r['url']}" title="{$r['title']}"><span class="title_color"{title_style($r['style'])}>{str_cut($r['title'], 60, '')}</span></a></li>
				{/loop}
				{/pc}
		 		</ul>		 		
		 	</div>
 		 	<div class="line"></div>
 	 	 	<div class="content-box">
 	 			<div class="title">
 	 	 			<h2>频道本月排行</h2>
 	 	 		</div>
 				<ul class="comment-list">		
				{pc:content action="hits" catid="$catid" num="10" order="monthviews DESC"}
				{loop $data $r}
 					<li><a href="{$r['url']}" title="{$r['title']}">{str_cut($r['title'], 60, '')}</a></li>
				{/loop}
				{/pc}
 				</ul>		 		
 	 	 	</div>
		 	<div class="line"></div>
	 	 	<div class="content-box">
	 			<div class="title">
	 	 			<h2>热门标签</h2>
	 	 		</div>
			    <ul class="tag-list">
				{pc:content action="tag" field="id,siteid,keyword,videonum,searchnums" num="30"}
				{loop $data $r}
					<li><a href="{tag_url($r['keyword'],$r['siteid'])}">{$r['keyword']}({$r['videonum']})</a></li>	
				{/loop}
				{/pc}
				</ul>
	 	 	</div>
		 </div>
</div>
{template "content","footer"}